package org.jeecg.modules.utils.beans;

import cn.hutool.core.bean.BeanUtil;
import com.alibaba.fastjson.JSONObject;
import lombok.SneakyThrows;
import org.jeecg.modules.business.transfer.vo.WmsMoveReceiptPage;
import org.jeecg.modules.flow.sys.common.BaseCustomBeanRun;
import org.jeecg.modules.flow.sys.entity.dto.BaseFlowDto;
import org.jeecg.modules.utils.dto.SmsDto;
import org.jeecg.modules.utils.service.IAlertService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class SendDingdingBean<T> extends BaseCustomBeanRun<T> {

    @Autowired
    private SendDingdingBeanInvoker sendDingdingBeanInvoker;

    @Override
    public void actureRun() {
        sendDingdingBeanInvoker.invoke(this.getBaseFlowDto());
    }
}
